A. ls -l *.lst
B. ls lst*
C. ls *.*
D. ls *[lst]
Related Mcqs:
- Which command is used to list out all the hidden files along with the other files ?
- A. ls -l B. ls -x C. ls -F D. ls -a...
- Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories ?
- A. rm * B. rm -r * C. rm all D. rm *.*...
- Which command is used to display all the lines with the string ‘sales’ from the file empl.lst ?
- A. cut sales empl.lst B. /sales > empl.lst C. grep sales empl.lst D. cat | /sales > empl.lst...
- Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?
- A. who | tee user.lst B. who > user.lst C. who >> user.lst D. who < user.lste...
- What command is not used to list the files chap01, chap02 and chap04 ?
- A. ls chap* B. ls chap[124] C. ls – x chap0[124] D. ls chap0[124]...
- Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files ?
- A. -l B. -d C. -r D. -b...
- What command is used to compare the files ?
- A. ccp B. du C. cmp D. comp...
- Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3 ?
- A. chmod u+x emp[1-3] B. chmod 777 emp* C. chmod u+r ??? emp D. chmod 222 emp?...
- Which command is used to copy all files having the string chap and any two characters after that to the progs directory ?
- A. cp chap?? progs B. cp chap* progs C. cp chap[12] /progs/*.* D. cp chap?? /progs/*...
- What command is used to remove files ?
- A. dm B. rm C. delete D. erase...
Advertisement